package test;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class main {
    public static void main(String[] args) {
        ApplicationContext context=new ClassPathXmlApplicationContext("applicationContext-test.xml");
//        UserServiceImplTest user = context.getBean("user", UserServiceImplTest.class);
//        user.setId(2);
        UserServiceImplTest2 user2 = context.getBean("user2", UserServiceImplTest2.class);
        user2.setId(3);
    }
}
